package com.rykj.energy.database.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.rykj.energy.database.pojo.BasicMeterData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MeterDataMapper extends BaseMapper<BasicMeterData> {

    List<BasicMeterData> selectByMeterId(@Param("meterId") Integer meterId);

    void deleteNotExitsIds(@Param("meterId") Integer meterId, @Param("dataIds") List<Integer> dataIds);

}
